<style>
    .list-icon{
        width: 24px;
        height: auto;
    }
    
</style>

@foreach($topic->contents as $content) 
<section class="portfolio">
    <div class="container">
        <div class="row">
            <div class="col-sm-7 col-sm-offset-5">
                <ul>
                    <li class="title">
                        <span class="glyphicon" style="background-color: inherit">
                            {{MyHelper::getCategoryImage($topic->category->slug)}}
                        </span>
                        <a href="{{URL::to( $topic->category['slug'].'/'.$topic->slug )}}">{{$content->year}}</a>
                    </li>
                    <li class="static">
                        @foreach($topic->contents as $content)
                            {{$content->getBefore($topic->title)}}
                            {{$content->getAfter($topic->title)}}
                        @endforeach
                    </li>
                </ul>
            </div>
        </div>
    </div>
</section>
@endforeach

 @include('social.comments')